package com.starbaba.activityCommend.service.impl;

import java.util.List;

import com.base.common.exception.AppException;
import com.base.common.log.LogService;
import com.starbaba.activityCommend.model.LoanActivityModel;
import com.starbaba.activityCommend.service.LoanProductInfoService;
import com.starbaba.base.dao.LoanManagerBaseDao;

public class LoanProductInfoServiceImpl extends LoanManagerBaseDao implements LoanProductInfoService{
	
	@Override
	public List<LoanActivityModel> getList() {
		
		String sql = "SELECT `id`,`name` FROM `loan_product_info` ";
		List<LoanActivityModel> list = null;
		try {
			list = getDao().list(sql, LoanActivityModel.class);
		} catch (AppException e) {
			LogService.error(e);
		}
		
		return list;
	}

}
